<%--
  Created by IntelliJ IDEA.
  User: fjc
  Date: 2018/9/23
  Time: 21:07
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="shiro" uri=http://shiro.apache.org/tags %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <shiro:hasPermission name="user:query">
        <h1>查询</h1>
    </shiro:hasPermission>
    <shiro:lacksPermission name="user:query">
        <h1>没有查询权限</h1>
    </shiro:lacksPermission>
</body>
</html>
